home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12248 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  919 b 

  1. Path: news.join.ad.jp!wnoc-tyo-news!spinnews!spin-hsd0-tky!inet-tsb!tis2!ssel-news!usenet
  2. From: Christian Sonntag <sonntag@ssel.toshiba.co.jp>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: HELP: Algorithm for ordering (x,y) coordinates
  5. Date: Tue, 19 Mar 1996 09:54:20 +1100
  6. Organization: Systems & Software Engineering Laboratory, TOSHIBA Corporation, JAPAN
  7. Message-ID: <314DE99C.72CB@ssel.toshiba.co.jp>
  8. References: <314B0266.456A@mit.edu>
  9. NNTP-Posting-Host: chrome.ssel.toshiba.co.jp
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (WinNT; I)
  14.  
  15. In my opinion you should take the origin(0,0)
  16. always as the 3rd point and proceed as described.
  17.  
  18. It does not make sense do define the < relation on 3 arguments.
  19. Furthermore it would lead to inconsistent results, depending
  20. on the execution order.
  21.  
  22.  
  23. Good luck, I am sure this can be done w/ STL.
  24.  
  25. Christian
  26. Sonntag
  27.